(function(angular) {
	'use strict';
	angular.module("fs.waf").config(['modalServiceProvider', 'routerServiceProvider', function(modalServiceProvider, routerServiceProvider) {
		
		modalServiceProvider.setDialogsModule('cls.settlementAddPayIdLookup', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_SETTLEMENTADDPAYID',
			templateUrl : 'cls/view/${theme}/lookup/addPayId/lookupAddPayId.html',
			controller : 'cls.lookup.addPayIdController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/addPayId/lookupAddPayIdController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/addPayId',
			i18nConfig : 'do/cls/resource/lookup/addPayId',
			authorizationConfig : 'do/cls/authorization/lookup/addPayId',
			validatorConfig : 'do/cls/validator/lookup/addPayId'
		});
		modalServiceProvider.setDialogsModule('cls.settlement.addFeeForPay', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_ADDFEEFORPAY',
			templateUrl : 'cls/view/${theme}/lookup/addFeeForPay/lookupAddFeeForPay.html',
			controller : 'cls.lookup.addFeeForPayController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/addFeeForPay/lookupAddFeeForPayController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/addFeeForPay',
			i18nConfig : 'do/cls/resource/lookup/addFeeForPay',
			authorizationConfig : 'do/cls/authorization/lookup/addFeeForPay',
			validatorConfig : 'do/cls/validator/lookup/addFeeForPay'
		});
		modalServiceProvider.setDialogsModule('cls.settlement.addFeeForReceive', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_ADDFEEFORRECEIVE',
			templateUrl : 'cls/view/${theme}/lookup/addFeeForReceive/lookupAddFeeForReceive.html',
			controller : 'cls.lookup.addFeeForReceiveController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/addFeeForReceive/lookupAddFeeForReceiveController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/addFeeForReceive',
			i18nConfig : 'do/cls/resource/lookup/addFeeForReceive',
			authorizationConfig : 'do/cls/authorization/lookup/addFeeForReceive',
			validatorConfig : 'do/cls/validator/lookup/addFeeForReceive'
		});
		modalServiceProvider.setDialogsModule('cls.lookupAcctNoList', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_ACCTNOLIST',
			templateUrl : 'cls/view/${theme}/lookup/acctNoList/lookupAcctNoList.html',
			controller : 'cls.lookup.acctNoListController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/acctNoList/lookupAcctNoListController.js', 
			                   'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/acctNoList',
			i18nConfig : 'do/cls/resource/lookup/acctNoList',
			authorizationConfig : 'do/cls/authorization/lookup/acctNoList',
			validatorConfig : 'do/cls/validator/lookup/acctNoList'
		});
		modalServiceProvider.setDialogsModule('cls.lookupTxnRefList', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_TXNREFLIST',
			templateUrl : 'cls/view/${theme}/lookup/txnRefList/lookupTxnRefList.html',
			controller : 'cls.lookup.txnRefListController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/txnRefList/lookupTxnRefListController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/txnRefList',
			i18nConfig : 'do/cls/resource/lookup/txnRefList',
			authorizationConfig : 'do/cls/authorization/lookup/txnRefList'
		});
		modalServiceProvider.setDialogsModule('cls.lookupLoanList', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_LOANLIST',
			templateUrl : 'cls/view/${theme}/lookup/loanList/lookupLoanList.html',
			controller : 'cls.lookup.loanListController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/loanList/lookupLoanListController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/loanList',
			i18nConfig : 'do/cls/resource/lookup/loanList',
			authorizationConfig : 'do/cls/authorization/lookup/loanList'
		});
		modalServiceProvider.setDialogsModule('cls.lookupRepaymentList', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_REPAYMENTLIST',
			templateUrl : 'cls/view/${theme}/lookup/repaymentList/lookupRepaymentList.html',
			controller : 'cls.lookup.repaymentListController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/repaymentList/lookupRepaymentListController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/repaymentList',
			i18nConfig : 'do/cls/resource/lookup/repaymentList',
			authorizationConfig : 'do/cls/authorization/lookup/repaymentList'
		});
		modalServiceProvider.setDialogsModule('cls.lookupLoanAmdList', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_LOANAMDLIST',
			templateUrl : 'cls/view/${theme}/lookup/loanAmdList/lookupLoanAmdList.html',
			controller : 'cls.lookup.loanAmdListController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/loanAmdList/lookupLoanAmdListController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js' ],
			layoutConfig : 'do/cls/layout/lookup/loanAmdList',
			i18nConfig : 'do/cls/resource/lookup/loanAmdList',
			authorizationConfig : 'do/cls/authorization/lookup/loanAmdList'
		});
		modalServiceProvider.setDialogsModule('cls.lookupDChargeList', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_DCHARGELIST',
			templateUrl : 'cls/view/${theme}/lookup/dChargeList/lookupDChargeList.html',
			controller : 'cls.lookup.dChargeListController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/dChargeList/lookupDChargeListController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js', 'cls/js/${theme}/service/directCharge/directChargeService.js', 'cls/js/${theme}/service/txn/txnService.js' ],
			layoutConfig : 'do/cls/layout/lookup/dChargeList',
			i18nConfig : 'do/cls/resource/lookup/dChargeList',
			authorizationConfig : 'do/cls/authorization/lookup/dChargeList'
		});
		modalServiceProvider.setDialogsModule('cls.lookupCustPayList', {
			title : 'title.dialogs.lookup',
			pageId : 'CLS_LOOKUP_CUSTPAYLIST',
			templateUrl : 'cls/view/${theme}/lookup/custPayList/lookupCustPayList.html',
			controller : 'cls.lookup.custPayListController',
			controllerAs : 'vm',
			dependentFiles : [ 'cls/view/${theme}/lookup/custPayList/lookupCustPayListController.js', 'waf/js/module/uigrid/ui-grid.css',
					'waf/js/module/uigrid/ui-grid.js', 'cls/js/${theme}/service/custPay/custPayService.js', 'cls/js/${theme}/service/txn/txnService.js' ],
			layoutConfig : 'do/cls/layout/lookup/custPayList',
			i18nConfig : 'do/cls/resource/lookup/custPayList',
			authorizationConfig : 'do/cls/authorization/lookup/custPayList'
		});
	} ]);
})(angular);
